package com.example.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.Version;
import com.example.enums.StatusEnum;


@lombok.Data
@lombok.NoArgsConstructor
@lombok.AllArgsConstructor
@lombok.Builder
public class SensitiveWord {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String word;

    private StatusEnum status;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @Version
    private Integer version;
}
